//
//  CalendarSelectView.h
//  AirTravel
//
//  Created by apple on 2021/7/30.
//

#import <UIKit/UIKit.h>
#import "FSCalendar.h"
NS_ASSUME_NONNULL_BEGIN

@interface CalendarSelectView : UIView<FSCalendarDataSource,FSCalendarDelegate,FSCalendarDelegateAppearance>


@property (weak, nonatomic) FSCalendar *calendar;

@property (weak, nonatomic) UILabel *eventLabel;
@property (strong, nonatomic) NSCalendar *gregorian;
@property (strong, nonatomic) NSDateFormatter *dateFormatter;
@property (weak, nonatomic) IBOutlet UIButton *submit;

// The start date of the range
@property (strong, nonatomic) NSDate *date1;
// The end date of the range
@property (strong, nonatomic) NSDate *date2;
@property (weak, nonatomic) IBOutlet UIView *backView;

- (void)configureCell:(__kindof FSCalendarCell *)cell forDate:(NSDate *)date atMonthPosition:(FSCalendarMonthPosition)position;

- (void)setUpUI;
@end

NS_ASSUME_NONNULL_END
